package cn.tedu.hospital.management.dao.persist.repository.impl;


import cn.tedu.hospital.management.dao.persist.mapper.CityMapper;
import cn.tedu.hospital.management.dao.persist.repository.CityRepository;
import cn.tedu.hospital.management.pojo.entity.City;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class CityRepositoryImpl implements CityRepository {
    @Autowired
    CityMapper cityMapper;


    @Override
    public List<City> getSmallCity(int pid) {
        return cityMapper.getSmallCity(pid);
    }
}
